package com.AJava1710D.设计模式.责任链模式.MyFilter;

/**
 * 作者: LCG
 * 日期: 2020/6/30 09:09
 * 描述:
 */
public class Test0006 {
    public static void main(String[] args) {

        My00Filter my00Filter1=new My00FilterIMpl("1");
        My00Filter my00Filter2=new My00FilterImpl2("2");
        My00Filter my00Filter3=new My00FilterImpl3("3");

        My00FilterChain my00FilterChain=new My00FilterChainImpl();

        my00FilterChain.register(my00Filter1);
        my00FilterChain.register(my00Filter2);
        my00FilterChain.register(my00Filter3);

        //执行链条上所有的过滤器
        my00FilterChain.chain();




    }
}
